#include "stdafx.h"
#include "Video_mgr.h"
#include "clientinterfaces.h"

void Video_mgr::play_video( Video _video )
{
	
	m_current_video=_video;
	g_pLTVideoManager->StartOnScreenVideo(m_current_video.m_date->m_file_name.c_str(),
		PLAYBACK_FULLSCREEN,m_current_video.m_date->m_video);
		
	
}

void Video_mgr::render_video()
{
	if (m_current_video.m_date)
	{
		g_pLTVideoManager->UpdateVideo(m_current_video.m_date->m_video);
	}
	
}